package com.example.emqx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.emqx.entity.Student;
import com.example.emqx.mapper.MybatisManyForManyMapper;
import com.example.emqx.service.MybatisManyForManyService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MybatisManyForManyServiceImpl extends ServiceImpl<MybatisManyForManyMapper, Student> implements MybatisManyForManyService {

    @Override
    public List<Student> selectStudentsWithCourses() {
        return baseMapper.selectStudentsWithCourses();
    }
}
